<template>
  <div>
      <iview-tree ref="iviewTree"></iview-tree>
  </div>
</template>

<script>
    import iviewTree from '@/view/common/tree/MenuTree.vue';
    export default {
        components: {
            iviewTree
        },
        data () {
            return {
                id: '',
                role: {}
            }
        },
        methods: {
            refreshMenu () {
                this.$refs.iviewTree.id = this.id
                this.$refs.iviewTree.role = this.role
                this.$refs.iviewTree.init()
            }
        },
        mounted () {
        }
    }
</script>

<style>

</style>
